package com.ruoyi._.domain..domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 货架/存储位置表对象 storagelocations
 * 
 * @author ruoyi
 * @date 2025-06-16
 */
public class Storagelocations extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long locationId;

    /**  */
    @Excel(name = "")
    private Long warehouseId;

    /** 库位编码 */
    @Excel(name = "库位编码")
    private String locationCode;

    /** 区域 */
    @Excel(name = "区域")
    private String zone;

    /** 货架号 */
    @Excel(name = "货架号")
    private String shelf;

    /** 最大卡牌存放量 */
    @Excel(name = "最大卡牌存放量")
    private Long maxCapacity;

    /** 1-可用, 0-不可用 */
    @Excel(name = "1-可用, 0-不可用")
    private Long status;

    public void setLocationId(Long locationId) 
    {
        this.locationId = locationId;
    }

    public Long getLocationId() 
    {
        return locationId;
    }

    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }

    public void setLocationCode(String locationCode) 
    {
        this.locationCode = locationCode;
    }

    public String getLocationCode() 
    {
        return locationCode;
    }

    public void setZone(String zone) 
    {
        this.zone = zone;
    }

    public String getZone() 
    {
        return zone;
    }

    public void setShelf(String shelf) 
    {
        this.shelf = shelf;
    }

    public String getShelf() 
    {
        return shelf;
    }

    public void setMaxCapacity(Long maxCapacity) 
    {
        this.maxCapacity = maxCapacity;
    }

    public Long getMaxCapacity() 
    {
        return maxCapacity;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("locationId", getLocationId())
            .append("warehouseId", getWarehouseId())
            .append("locationCode", getLocationCode())
            .append("zone", getZone())
            .append("shelf", getShelf())
            .append("maxCapacity", getMaxCapacity())
            .append("status", getStatus())
            .toString();
    }
}
